package com.business_clean.ui.adapter.custom;

import com.business_clean.R;
import com.business_clean.data.mode.custom.CustomMangerList;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;

public class CustomMangerAdapter extends BaseQuickAdapter<CustomMangerList, BaseViewHolder> {
    public CustomMangerAdapter() {
        super(R.layout.item_custom);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseDataBindingHolder, CustomMangerList item) {
        baseDataBindingHolder.setText(R.id.tv_item_custom, item.getCustom_name())
                .setText(R.id.tv_item_custom_all_name, item.getCustom_full_name());
    }
}
